﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 测试
{
    class Program
    {   
        public static void Main()
        {
            int name = 1;
            int age = 0;
            Animal a = new Animal(name, age);
            a.Eat();

            Tiger t = new Tiger(10, 5);
            t.Eat();
        }
    }
}
